﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class WebMaster_Controls_MennuTop : System.Web.UI.UserControl
{
    ClassExecute.ClassExecute dt;
    string str = BCDataCenter.Configuration.CurrentConnectionString;
    static string error = "";
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["username"] != null)
        {
            if (Session["Salesp_key_Logon"] != null && Session["username"].ToString().Equals("DefaultUser"))
            {
                lbUserNameLogon.Text = Session["Salesp_key_Logon"].ToString();
            }
            else
                lbUserNameLogon.Text = Session["username"].ToString();
        }
        else
        {
            lbUserNameLogon.Text = "";
        }
    }
   
}
